import 'package:flutter/material.dart';
import 'package:qunaimedical/pages/home.dart';
import 'package:qunaimedical/pages/login.dart';
import 'package:qunaimedical/pages/profile.dart';
import 'package:qunaimedical/pages/register.dart';
import 'package:qunaimedical/pages/sms_login.dart';

/// 页面路由映射表
class RouteMap {
  static final routes = <String, WidgetBuilder>{
    HomePage.routeName: (context) => HomePage(),
    LoginPage.routeName: (context) => LoginPage(),
    SMSLoginPage.routeName: (context) => SMSLoginPage(),
    ProfilePage.routeName: (context) => ProfilePage(),
    RegisterPage.routeName: (context) => RegisterPage(),
  };
}
